<!DOCTYPE html>

<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<html lang="en">
<title>aaa</title>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-1.11.1.min.js""></script>

<body>
	<c:url value="/resources/text.txt" var="url"/>
	<spring:url value="/resources/text.txt" htmlEscape="true" var="springUrl" />
	Spring URL: ${springUrl} at ${time}
	<br>
	JSTL URL: ${url}
	<br>
	Message: ${message}
	<script>
			$(function(){
				$.ajax({
					url:"${pageContext.request.contextPath}/user/aaa",
					type:"post",
					data:{"name":"1.1"},
					dataType:"json",
					async:false,
					success:function(data){
						alert(typeof(data));
					}
				})
			});
		</script>
</body>

</html>
